cmake_minimum_required(VERSION 3.17)
project(IMGUI)

set(CMAKE_CXX_STANDARD 14)

include_directories(${PROJECT_ROOT_PATH}/include/imgui)
include_directories(${PROJECT_ROOT_PATH}/include)

find_package(OpenGL REQUIRED)

add_library(IMGUI SHARED imgui.cpp imgui_demo.cpp imgui_draw.cpp imgui_impl_sdl.cpp imgui_impl_opengl3.cpp imgui_tables.cpp imgui_widgets.cpp)
target_link_libraries(IMGUI ${OPENGL_LIBRARIES})